public class Date {
    int year;
    int month;
    int day;
    {
        this.year = 1900;
        this.month = 1;
        this.day = 1;
        System.out.println("这是一个实例代码块");
    }
}
